<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>帖子列表</title>
		
		<style type="text/css">
	table {  
*border-collapse: collapse; /* IE7 and lower */  
border-spacing: 0;  
width: 100%;  
}  
  
	.zebra td, .zebra th {  
padding: 10px;  
border-bottom: 1px solid #f2f2f2;  
}  
  
.zebra tbody tr:nth-child(even) {  
background: #f5f5f5;  
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;  
-moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;  
}  
  
.zebra th {  
text-align: left;  
text-shadow: 0 1px 0 rgba(255,255,255,.5);  
border-bottom: 1px solid #ccc;  
background-color: #eee;  
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#eee));  
background-image: -webkit-linear-gradient(top, #f5f5f5, #eee);  
background-image: -moz-linear-gradient(top, #f5f5f5, #eee);  
background-image: -ms-linear-gradient(top, #f5f5f5, #eee);  
background-image: -o-linear-gradient(top, #f5f5f5, #eee);  
background-image: linear-gradient(top, #f5f5f5, #eee);  
}  
  
.zebra th:first-child {  
-moz-border-radius: 6px 0 0 0;  
-webkit-border-radius: 6px 0 0 0;  
border-radius: 6px 0 0 0;  
}  
  
.zebra th:last-child {  
-moz-border-radius: 0 6px 0 0;  
-webkit-border-radius: 0 6px 0 0;  
border-radius: 0 6px 0 0;  
}  
  
.zebra th:only-child{  
-moz-border-radius: 6px 6px 0 0;  
-webkit-border-radius: 6px 6px 0 0;  
border-radius: 6px 6px 0 0;  
}  
  
.zebra tfoot td {  
border-bottom: 0;  
border-top: 1px solid #fff;  
background-color: #f1f1f1;  
}  
  
.zebra tfoot td:first-child {  
-moz-border-radius: 0 0 0 6px;  
-webkit-border-radius: 0 0 0 6px;  
border-radius: 0 0 0 6px;  
}  
  
.zebra tfoot td:last-child {  
-moz-border-radius: 0 0 6px 0;  
-webkit-border-radius: 0 0 6px 0;  
border-radius: 0 0 6px 0;  
}  
  
.zebra tfoot td:only-child{  
-moz-border-radius: 0 0 6px 6px;  
-webkit-border-radius: 0 0 6px 6px  
border-radius: 0 0 6px 6px  
}  
   
	</style>
	</head>
	<body>
		<DIV>
			
		</DIV>
		<DIV class="h">
			您好：${sessionScope.user.username } &nbsp;| &nbsp;
			<A href="userLogout.action">退出系统</A>
		</DIV>
		<DIV>
				<A href="addtip.jsp?boardId=${requestScope.boardId }">发表帖子
				</A>
			</DIV>
			<br />
			<DIV>
				&gt;&gt;
				<B><a href="getIndexInfo.action">论坛首页</a>
				</B>
				&gt;&gt;
				<B><a href="#">帖子列表</a>
				</B>
			</DIV>
			<br />
			<DIV class="t">
				<TABLE cellSpacing="0" cellPadding="0" width="100%" class="zebra">
					<TR>
						<TH class="h" style="WIDTH: 100%" colSpan="4">
							<SPAN>&nbsp;</SPAN>
						</TH>
					</TR>
					<TR class="tr2">
						<td>
							&nbsp;
						</td>
						<TD style="WIDTH: 65%" align="center">
							帖子
						</TD>
						<TD style="WIDTH: 10%" align="center">
							版主
						</TD>
						<TD style="WIDTH: 20%" align="center">
							回复
						</TD>
					</TR>
				<s:iterator value="info">
					<TR class="tr3">
						<TD>
							
						</TD>
						<TD style="FONT-SIZE: 15px">
							<A
								href="findReplyByTipid.action?topicId=<s:property value="tipid"/>"><s:property value="title"/></A>
						</TD>
						<TD align="center"><s:property value="username"/></TD>
						<TD align="center"><s:property value="replyCount"/></TD>
					</TR>
					</s:iterator>
				</TABLE>
			</DIV>
		<div>
			<jsp:include page="bottom.jsp"></jsp:include>
		</div>
	</body>
</html>
